package com.sjy.ship.mapper;

import java.util.List;

import com.sjy.ship.domain.ElectronicCoupon;
import com.sjy.ship.domain.ShipWorkLine;
import com.sjy.ship.domain.vo.ShipEcVo;
import com.sjy.ship.domain.vo.ShipWorkLineVo;

/**
 * 船作业线工作记录Mapper接口
 * 
 * @author lzm
 * @date 2023-06-14
 */
public interface ShipWorkLineMapper 
{
    /**
     * 查询船作业线工作记录
     * 
     * @param shipWorkId 船作业线工作记录主键
     * @return 船作业线工作记录
     */
    public ShipWorkLine selectShipWorkLineByShipWorkId(Long shipWorkId);

    /**
     * 查询船作业线工作记录列表
     * 
     * @param shipWorkLine 船作业线工作记录
     * @return 船作业线工作记录集合
     */
    public List<ShipWorkLineVo> selectShipWorkLineVoList(ShipWorkLineVo shipWorkLine);
    /**
     * 新增船作业线工作记录
     * 
     * @param shipWorkLine 船作业线工作记录
     * @return 结果
     */
    public int insertShipWorkLine(ShipWorkLine shipWorkLine);

    /**
     * 修改船作业线工作记录
     * 
     * @param shipWorkLine 船作业线工作记录
     * @return 结果
     */
    public int updateShipWorkLine(ShipWorkLine shipWorkLine);

    /**
     * 删除船作业线工作记录
     * 
     * @param shipWorkId 船作业线工作记录主键
     * @return 结果
     */
    public int deleteShipWorkLineByShipWorkId(Long shipWorkId);

    /**
     * 批量删除船作业线工作记录
     * 
     * @param shipWorkIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteShipWorkLineByShipWorkIds(Long[] shipWorkIds);
}
